/*
 * @Author: ZhaoZhiqi
 * @Date: 2023-11-03 18:46:51
 * @LastEditors: ZhaoZhiqi
 * @LastEditTime: 2023-11-03 18:52:00
 * @Description: SearchItem
 * @FilePath: \lumos-admin\src\components\SearchItem\index.jsx
 */
import { Flex } from '@mantine/core';

export function SearchItem({ label, children }) {
    return (
        <Flex align="center" justify='center'>
            <div style={{ marginRight: '10px', fontSize: '14px', flex: 'none' }}>{label}:</div>
            <div style={{ flex: 'auto' }}>{children}</div>
        </Flex>
    )
}